
<?
$category_id=$this->input->get('parent_id');
$catlist=ORM::factory('category')->get_pulldown_list();
$desturl='http://'.$_SERVER['HTTP_HOST'].url::base(true).'javaupload/upload/'.$category_id;
$endurl='http://'.$_SERVER['HTTP_HOST'].url::base(true).CONTDIR.'media/listall/'.$category_id;
$codebase='http://'.$_SERVER['HTTP_HOST'].url::base().'mediaadmin/applet/';

?>
<div class='contentheader'>Mehrere Files hochladen</div>

<div style="border:1px dotted #999999">
<applet name="postlet" codebase="<?=$codebase?>" code="Main.class" archive="postlet.jar" width="100%" height="400px" mayscript>
    <param name = "maxthreads"		value = "5" />
    <param name = "language"		value = "" />
    <param name = "type"			value = "application/x-java-applet;version=1.3.1" />
    <param name = "destination"		value = "<?=$desturl?>" />
    <param name = "backgroundcolour" value = "16777215" />
    <param name = "tableheaderbackgroundcolour" value = "16777215" />
    <param name = "tableheadercolour" value = "0" />
    <param name = "warnmessage" value = "false" />
    <param name = "autoupload" value = "false" />
    <param name = "helpbutton" value = "false" />
    <param name = "fileextensions" value = "Image Files,jpg,gif,jpeg" />
    <param name = "endpage" value = "<?=$endurl?>" />
    <param name = "helppage" value = "http://www.postlet.com/help/?thisIsTheDefaultAnyway" />
</applet>
</div>

<?
echo form::open();
echo myform::submit_close();
echo form::close();
?>